/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: zjc
 * Date: 2022-04-26
 * Time: 22:24
 */
    public class project {
    public static boolean decide(int a) {
        for (int i = 2; i <= a / 2; i++) {
            if (a % i == 0) {
                return false;
            }
        }
        return true;
    }
    public static void main(String[] args) {
        for (int i = 2; i <= 100; i++) {
            boolean a = decide(i);
            if (a == true){
                System.out.println(i);
            }
        }
    }
}

